<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<div class="body-top " th:fragment="top" th:inline="text">
	<div class="topBar clearfix">
		<ul class="server">
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<li>|</li>
			<li class="text"><a href="javascript:;">xxx</a></li>
			<li>|</li>
			<li class="text"><a href="javascript:;">xxx</a></li>
			<li>|</li>
			<li class="text"><a href="javascript:;">xxx</a></li>
			<li>|</li>
			<li class="text"><a href="javascript:;">xxx</a></li>
			<li>|</li>
			<li class="text"><a href="javascript:;">xxx</a></li>
			<li>|</li>
			<li class="text"><a href="javascript:;">xxx</a></li>
			<li>|</li>
		</ul>
		<ul class="writing-letter">
			<li><a href="javascript:;"><i class="iconfont">&#xe6b6;</i> 领导信箱</a></li>
			<div class="writing-letter-content">
				校领导人很好,
				还支持匿名投诉！
			</div>
		</ul>
		<ul class="user-info" style="float: left">
			<li class="line">|</li>
			&nbsp;&nbsp;&nbsp;&nbsp;
			<li><a href="javascript:;" class="app">联系开发者
					<div class="app-img">
						<img th:src="@{/img/222.png}">
						真的能扫
					</div>
				</a>
			</li>
			&nbsp;&nbsp;&nbsp;&nbsp;
			<li class="line">|</li>
			&nbsp;&nbsp;&nbsp;&nbsp;
			<li >
				<a href="#" class="" th:if="${session.user}"> [[${session.user.uname}]] </a>
				<a th:href="${'/login'}" class="" th:unless="${session.user}"> 登录 </a>
			</li>
			&nbsp;&nbsp;&nbsp;&nbsp;
			<li class="line">|</li>
			&nbsp;&nbsp;&nbsp;&nbsp;
			<li>
				<a th:href="@{'/register'}" th:unless="${session.user}" class="">注册</a>
				<a th:href="@{'/user/CancelLogin.do'}" th:if="${session.user}">注销</a>
<!--				<c:choose>-->
<!--					<c:when test="${empty sessionScope.name}">-->
<!--						<a href="register.jsp" class="">注册</a>-->
<!--					</c:when>-->
<!--					<c:otherwise>-->
<!--						<a href="users/CancelLogin.do" methods="get">注销</a>-->
<!--					</c:otherwise>-->
<!--				</c:choose>-->

			</li>
			&nbsp;&nbsp;&nbsp;&nbsp;
			<li class="line">|</li>
			&nbsp;&nbsp;&nbsp;&nbsp;
		</ul>
	</div>
	<div class="nav-box clearfix">
		<div class="head-wrapper">
			<div class="header clearfix">
				<div style="position: relative;">
					<img th:src="@{/gif/QQ图片20201209203144.gif}" class="logo" title="校园生活">
					<div class="text-logo">
						我是一个能被搜索引擎搜索到的"logo"
					</div>
				</div>
			</div>
		</div>
		<ul class="nav clearfix">
			<li class="show-goods duohang"><a th:href="@{'/index'}">官网首页<i class="iconfont">&#xe604;</i></a>
				<ul>
					<li><a href="#">xxxxxxx</a></li>
					<li><a href="#">xxxxxxx</a></li>
					<li><a href="#">xxxxxxx</a></li>
					<li><a href="#">xxxxxxx</a></li>
				</ul>
			</li>
			<li class="show-goods duohang"><a th:href="@{'/errorShow'}">人造异常<i class="iconfont">&#xe604;</i></a>
				<ul>
					<li><a href="#">xxxxxxx</a></li>
					<li><a href="#">xxxxxxx</a></li>
					<li><a href="#">xxxxxxx</a></li>
					<li><a href="#">xxxxxxx</a></li>
				</ul>
			</li>
			<link rel="icon" href="favicon.ico" />
			<li class="show-goods duohang"><a href="javascript:;">xxxxxxx<i class="iconfont">&#xe604;</i></a>
				<ul>
					<li><a href="#">xxxxxxx</a></li>
					<li><a href="#">xxxxxxx</a></li>
					<li><a href="#">xxxxxxx</a></li>
					<li><a href="#">xxxxxxx</a></li>
				</ul>
			</li>
			<li class="show-goods"><a th:href="@{'/cart/CartSelect.do'}" methods="get">购物列表</a>
				<ul class="school-life">
				</ul>
			</li>

			<li class="show-goods">
				<a th:action="@{'/login'}"  th:unless="${session.user}">登录页面</a>
				<a href="javascript:;" th:if="${session.user}">我的订单</a>
				<ul class="school-life">
				</ul>
			</li>



			<li class="show-goods">
				<a th:href="@{'/register'}"  th:unless="${session.user}">注册报名</a>
				<a th:href="@{'/user/deleteUser.do'}" th:if="${session.user}" methods="get">注销跑路</a>

<!--				<c:choose>-->
<!--					<c:when test="${empty sessionScope.name}">-->
<!--						<a href="register.jsp" >注册报名</a>-->
<!--					</c:when>-->
<!--					<c:otherwise>-->
<!--						<a href="users/CancelLogin.do" th:if="${session.user}" methods="get">注销跑路</a>-->
<!--					</c:otherwise>-->
<!--				</c:choose>-->
				<ul class="school-life">
				</ul>
			</li>
		</ul>
	</div>
</div>
